SureCart\WordPress\Assets\AssetsService S

Total Complexity 31
Dependencies 2
Dependents 1
Total lines 266
Lines of code 126
Logical lines of code 67
Comment lines 104
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
enqueueGlobals()
S
53 7 21
addComponentData()
S
58 4 17
preloadBlockAssets()
S
62 4 11
outputComponentScript()
S
57 2 19
maybeEnqueueScriptsForNonBlocks()
S
67 3 7
bootstrap()
S
58 1 15
preloadComponents()
S
70 2 6
enqueueForm()
S
72 2 6
__construct()
S
68 1 7
editorAssets()
S
78 1 4
enqueueComponents()
S
78 1 4
printAdminColors()
S
81 1 3
printBrandColors()
S
81 1 3
usesEsmLoader()
S
79 1 3